[body]
  <link href="/css/registration.css" rel="stylesheet" type="text/css">
  <script>
    $(document).ready(function(){
			$('.err_err').parent().prev('input').keydown(function(){
			  $(this).next('span:first').children('.err_err').remove();
			});
		});
  </script>
	<form id="profile_edit_form" class="typical" >
		{error: type=user}
		<div class="cols">
		  <div class="col c20">
				<div class="field f3 photo_block">
					<label style="float:none;">Photo:</label>
					<div style="width:100px; height:100px; margin-top:10px;" class="picture">
					  <img src="{u_img}" >
					  <input type="file" name="ill">
					</div>
					<div class="clear"></div>
				</div>
			</div>
		  <div class="col c80">
			  <div class="field f3 email_block">
					<label>E-mail *:</label>
					<span class="inp">{u_email}</span>
					<div class="clear"></div>
				</div>

				<div class="field f3 pwd_block">
					<label>
						Password:<br>
						<small>Fill these fields for the change <br>of your current password.</small>
					</label>
					
					<input type="password" name="u_pwd" tabindex="4" placeholder="At least 6 characters" autocomplete="Off" style="width:25.5%;">
					<input type="password" name="conf" tabindex="4" placeholder="Confirm password" style="width:25.5%;">
					<span>
						<!--err:u_pwd-->
					</span>
					<div class="clear"></div>
				</div>


				<div class="field f3 name_block">
					<label>Your name *:</label>
					<input type="text" name="u_name" id="u_name" required tabindex="6" placeholder="Type your full name">
					<span><!--err:u_name--></span>
					<div class="clear"></div>
				</div>
				<script>
					document.getElementById("reg_email").focus();
				</script>

				<div class="field f3 bdate_block">
					<label>Date of birth *:</label>
					<input type="text" name="u_bdate" required tabindex="14" stype="date" placeholder="dd.mm.YYYY">
					<span><!--err:u_bdate--></span>
					<div class="clear"></div>
				</div>

			  <div class="field f3 mobile_block">
					<label>Mobile*:</label>
					<input type="text" name="u_mobile" tabindex="16" stype="phone" required>
					<span><!--err:u_mobile--></span>
					<div class="clear"></div>
				</div>

			  <div class="field f3 phone_block">
					<label>Office:</label>
					<input type="text" name="u_wphone" tabindex="18" stype="phone">
					<span><!--err:u_wphone--></span>
					<div class="clear"></div>
				</div>
				<div class="field f3 gender_block" >
					<label style="float:left;">Gender *:</label>
					<div style="width:146px; float:left;">
						<input id="u_gender_male" class="short" type="radio" name="u_gender" value="m" required checked tabindex="10">
						<label for="u_gender_male">male</label><br>
						<input id="u_gender_female" class="short" type="radio" name="u_gender" value="f" tabindex="12">
						<label for="u_gender_female">female</label>
					</div>
					<span><!--err:u_gender--></span>
					<div class="clear"></div>
					<input type="submit" id="reg_submit" tabindex="60" value="Save" class="button orange" style="display:block; margin:20px 0 0 19.5%; width:200px; font-size:20px;">
				</div>
			</div>
		</div>
			

</form>
<div class="clear"></div>
[reg_new_ok]
	<div class="news-item">
		<h2>Your profile is saved!</h2>
		<div >
			<a href="/members/myprofile" class="button orange" style="display: block; font-size: 20px; margin: 30px auto; width: 144px; ">Back</a>
		</div>
	</div>
[reg_unlocked]
[reg_stilllocked]
[reg_was]
<div class="news-item">
	<h2>{msg:attention}</h2>
	<p>{msg:you_alredy_regiter}</p>
</div>
[pack]
	<div class="field f3">
		<p>
			Your training package:
		  <strong style="font-size:18px; color:#369;">{plan}</strong>
		</p>
		<div class="clear"></div>
	</div>
[tmp]
